package com.medicine.hbp.uitl;


import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

public class Cookit {
	private static String COOKIT_NAME="Cookit";
	SharedPreferences preferences;
	public Cookit(Context context) {
		preferences=context.getSharedPreferences("COOKIT_NAME", 0);
	}

	public void setCookitString(String cookitString) {
		Editor editor =preferences.edit();
		editor.putString("iscookit", cookitString);
	}

	public String getCookitString() {
		return preferences.getString("iscookit", "");
	}
}
